package cn.xej.miniuiDemo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class RouterController {

    @GetMapping(value = {"/","/login"})
    public String login(){
        return "login";
    }


    @GetMapping("/user")
    public String user(){
        return "user";
    }


    @GetMapping("/user2")
    public String user2(){
        return "user2";
    }
}
